/*
* pps_bom
*/
package com.pitop.material.entity;

import lombok.Data;

import java.util.Date;


/**
* 物料日志 的实体类
*
* @author berton
*/
@Data
public class MaterialLog implements java.io.Serializable {

    //数据库字段:id  属性显示:
    private Long id;

    //数据库字段:materialCode  属性显示:物料编码
    private String materialCode;

    //数据库字段:event  属性显示:事件定义[修改 Update,删除 Delete,创建 Create,复制 Copy,禁用 Stop]
    private String event;

    //数据库字段:operateCode  属性显示:操作人编码
    private String operateCode;

    //数据库字段:operateName  属性显示:操作人
    private String operateName;

    //数据库字段:summary  属性显示:日志描述
    private String summary;

    //数据库字段:createTime  属性显示:创建时间
    private java.util.Date createTime;

    //数据库字段:createTime  属性显示:创建时间
    private java.util.Date createTimeBegin;
    //数据库字段:createTime  属性显示:创建时间
    private java.util.Date createTimeEnd;


    public  MaterialLog() {

    }

    public MaterialLog(String materialCode, String event, String operateCode, String operateName, String summary) {
        this.materialCode = materialCode;
        this.event = event;
        this.operateCode = operateCode;
        this.operateName = operateName;
        this.summary = summary;
        this.createTime = new Date();
    }


}
